﻿using Microsoft.Web.Farm;

namespace F5LoadBalancer {
    [WebFarmOperationProvider]
    public sealed class F5RemoveWebFarmOperationProvider : WebFarmOperationProvider {
        public override string Name {
            get {
                return ProviderName;
            }
        }

        public override ProviderDisposition Disposition {
            get {
                return ProviderDisposition.Hidden;
            }
        }

        public override object RunOperation(WebFarmOperationContext operationContext) {
            //Utility.RemovePool(operationContext.WebFarm.Name);
            return null;
        }

        public const string ProviderName = F5Constants.F5LoadBalancerName + RemoveWebFarmOperationProvider.ProviderName;
    }
}
